package com.lin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lin.entity.Userinfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lin.entity.UserinfoDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lin
 * @since 2022-06-17
 */
public interface UserinfoService extends IService<Userinfo> {

    Page<UserinfoDto> getUserinfo(Integer page, Integer size, Integer condition, String key);

    Boolean addUserinfo(UserinfoDto userinfo);

    Boolean updateUserinfo(Userinfo userinfo);

    Boolean removeUserinfo(Integer uid);


}
